package com.tgh.gles2;

import android.content.Context;
import android.opengl.GLSurfaceView;
import android.opengl.GLSurfaceView.Renderer;

public abstract class BaseRenderer implements Renderer {

    public BaseRenderer(Context context) {
        this.mContext=context;
    }
    abstract  public void onSurfaceDestroyed() ;
    
    protected GLSurfaceView mSurfaceView;
    protected Context mContext;
    
    public GLSurfaceView getSurfaceView() {
        return mSurfaceView;
    }

    public void setSurfaceView(GLSurfaceView surfaceView) {
        this.mSurfaceView = surfaceView;
    }
}
